/*
 * Valentine Gladstein
 * SOLAR ID 108731583
 * Homework #6
 * CSE214
 * Recitation 03-Phil Ammirato
 * Grading TA: Yanjie Li
 */

import java.io.*;
import java.util.*;

public class EmailInfo {                   //Class used internally to represent an email

    private float spamProbability;         //This variable is set by the SpamFilter class. It represents the percentage of words in the email's @message which are in the filter's blacklist
    private String fileLocation;           //Represents the file contianing the email's message

    private String to;                
    private String from;
    private String date;
    private String subject;
    private String message;

    public void setTo(String input) {
	to = input;
    }
    public void setFrom(String input) {
	from = input;
    } 
    public void setDate(String input) {
	date = input;
    }  
    public void setSubject(String input) {
	subject = input;
    }   
    public void setMessage(String input) {
	message = input;
    }
    public void setSpamProbability(float input) {
	spamProbability = input;
    }
    public void setFileLocation(String input) {
	fileLocation = input;
    }

    public String getTo() {
	return to;
    }
    public String getFrom() {
	return from;
    }
    public String getDate() {
	return date;
    }
    public String getSubject() {
	return subject;
    }
    public String getMessage() {
	return message;
    }
    public float getSpamProbability() {
	return spamProbability;
    }
    public String getFileLocation() {
	return fileLocation;

    }
}
